package org.takeback.chat.entity;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "lhh_num_detail", schema = "gamechat", catalog = "")
public class LHHNumDetail {

	private Integer id;
	private String num1;
	private String num2;
	private String num3;
	private String num4;
	private String num5;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", nullable = false, length = 11)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	@Basic
	@Column(name = "num1", nullable = true, length =2)
	public String getNum1() {
		return num1;
	}
	public void setNum1(String num1) {
		this.num1 = num1;
	}
	
	@Basic
	@Column(name = "num2", nullable = true, length = 2)
	public String getNum2() {
		return num2;
	}
	public void setNum2(String num2) {
		this.num2 = num2;
	}
	
	@Basic
	@Column(name = "num3", nullable = true, length = 2)
	public String getNum3() {
		return num3;
	}
	public void setNum3(String num3) {
		this.num3 = num3;
	}
	
	@Basic
	@Column(name = "num4", nullable = true, length = 2)
	public String getNum4() {
		return num4;
	}
	public void setNum4(String num4) {
		this.num4 = num4;
	}
	
	@Basic
	@Column(name = "num5", nullable = true, length = 2)
	public String getNum5() {
		return num5;
	}
	public void setNum5(String num5) {
		this.num5 = num5;
	}
	
	public String toStr() {
		return this.num1 + this.num2 + this.num3 + this.num4 + this.num5;
	}
	
}
